package com.topscore.uke.mvp.contractors;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.kingja.loadsir.core.LoadService;
import com.topscore.uke.entities.MemberCommentsInfo;
import com.topscore.uke.mvp.model.BaseHttpListener;
import com.topscore.uke.network.BaseResponse;
import com.topscore.uke.network.request.GetMemberCommentsRequest;
import com.topscore.uke.network.retrofit.ApiService;
import com.topscore.uke.network.retrofit.NetClientPostJson;

public interface GetMemberCommentsContractor {
    interface Model{
        ApiService mService = NetClientPostJson.getInstance().net().create(ApiService.class);
        void getComments(GetMemberCommentsRequest request);
        interface CallBack extends BaseHttpListener{
            void onSuccess(BaseResponse<MemberCommentsInfo> response);
        }
    }

    interface View{
        BaseQuickAdapter getRecyclerAdapter();
        LoadService getLoadService();
    }

    interface Presenter{
        void getComment();
        void loadNextPage();
    }
}
